package com.android.happymall.model.member;

/**
 * Created by Administrator on 2016/9/13.
 */
public class LoginResultData {


    /**
     * UID : 1
     * UNAME : test01
     * UPSW : f9c2d2e2f0ed651159307e0782166bfd
     * avatar : http://192.168.1.47//upload/photo.gif
     */

    private DataBean data;
    /**
     * data : {"UID":"1","UNAME":"test01","UPSW":"f9c2d2e2f0ed651159307e0782166bfd","avatar":"http://192.168.1.47//upload/photo.gif"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1475916832
     */

    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private String UID;
        private String UNAME;
        private String UPSW;
        private String avatar;
        private String TOKEN;
        private String nickname;

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getTOKEN() {
            return TOKEN;
        }

        public void setTOKEN(String TOKEN) {
            this.TOKEN = TOKEN;
        }

        public String getUID() {
            return UID;
        }

        public void setUID(String UID) {
            this.UID = UID;
        }

        public String getUNAME() {
            return UNAME;
        }

        public void setUNAME(String UNAME) {
            this.UNAME = UNAME;
        }

        public String getUPSW() {
            return UPSW;
        }

        public void setUPSW(String UPSW) {
            this.UPSW = UPSW;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
